package com.queming.music.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * @author chencidiao
 * @date 2022/05/11 21:46
 **/
@Data
public class AlbumCreateRequest {
    @NotBlank(message = "专辑名字不能为空")
    private String name;

    private String description;

    @NotBlank(message = "歌手封面必须上传")
    private String coverId;

    @NotEmpty(message = "至少选择一名歌手")
    private List<String> artistIds;
}
